package com.pingan.haofang.searchcloud.monitor.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * 索引视图列表
 * Created by EX-ZHOUYONG005 on 2018/12/10.
 */
public class IndexBuildProgressItemDTO {

    @ApiModelProperty("执行ID")
    private Long id;

    @ApiModelProperty("索引名称")
    private String indexName;

    @ApiModelProperty("项目code")
    private String projectCode;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("数据源数量")
    private Long datasourceNum;

    @ApiModelProperty("运行类型 0：定时触发 1：人工触发")
    private Integer runType;

    @ApiModelProperty("运行类型_格式化")
    private String runTypeFomamt;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("状态_格式化")
    private String statusFommat;

    @ApiModelProperty("索引总量")
    private Integer recordTotalNum;

    @ApiModelProperty("索引总耗时")
    private Integer recordTotalCost;

    @ApiModelProperty("记录平均耗时")
    private Double avgCost;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getDatasourceNum() {
        return datasourceNum;
    }

    public void setDatasourceNum(Long datasourceNum) {
        this.datasourceNum = datasourceNum;
    }

    public Integer getRunType() {
        return runType;
    }

    public void setRunType(Integer runType) {
        this.runType = runType;
    }

    public String getRunTypeFomamt() {
        return runTypeFomamt;
    }

    public void setRunTypeFomamt(String runTypeFomamt) {
        this.runTypeFomamt = runTypeFomamt;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusFommat() {
        return statusFommat;
    }

    public void setStatusFommat(String statusFommat) {
        this.statusFommat = statusFommat;
    }

    public Integer getRecordTotalNum() {
        return recordTotalNum;
    }

    public void setRecordTotalNum(Integer recordTotalNum) {
        this.recordTotalNum = recordTotalNum;
    }

    public Integer getRecordTotalCost() {
        return recordTotalCost;
    }

    public void setRecordTotalCost(Integer recordTotalCost) {
        this.recordTotalCost = recordTotalCost;
    }

    public Double getAvgCost() {
        return avgCost;
    }

    public void setAvgCost(Double avgCost) {
        this.avgCost = avgCost;
    }
}
